package net.entelijan.cobean.examples.showcase.orderlist;

import javax.swing.JButton;

import net.entelijan.cobean.examples.panels.DefaultOrderlistPanel;
import net.entelijan.scf.DefaultShowcasePanel;
import net.miginfocom.swing.MigLayout;

public class MultiSelectionOrderlistPanel extends DefaultShowcasePanel {

	private DefaultOrderlistPanel orderlistPanel = new DefaultOrderlistPanel();

	private JButton showListButton = new JButton("Show List");

	private static final long serialVersionUID = 1L;

	public MultiSelectionOrderlistPanel() {
		super();
		setLayout(new MigLayout());
		add(orderlistPanel, "grow, wrap");
		add(showListButton);
	}

	public DefaultOrderlistPanel getOrderlistPanel() {
		return orderlistPanel;
	}

	public void setOrderlistPanel(DefaultOrderlistPanel orderList) {
		this.orderlistPanel = orderList;
	}

	public JButton getShowListButton() {
		return showListButton;
	}

	public void setShowListButton(JButton showListButton) {
		this.showListButton = showListButton;
	}

}
